package com.tangula.web.kashine.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;


@Entity
@Table(name="t_studentorganizationref")
public class StudentOrganizationRefEntity implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 465914198787751602L;
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid2")
	@Column(name="id")
	private String id;
	@Column(name="studentEmail")
	private String studentEmail;
	@Column(name="studentId")
	private String studentId;
	@Column(name="orgId")
	private String orgId;
	@Column(name="money")
	private int money;
	public StudentOrganizationRefEntity() {
		super();

	}
	public StudentOrganizationRefEntity(String id, String studentEmail, String studentId, String orgId, int money) {
		super();
		this.id = id;
		this.studentEmail = studentEmail;
		this.studentId = studentId;
		this.orgId = orgId;
		this.money = money;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getStudentEmail() {
		return studentEmail;
	}
	public void setStudentEmail(String studentEmail) {
		this.studentEmail = studentEmail;
	}
	public String getStudentId() {
		return studentId;
	}
	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}
	public String getOrgId() {
		return orgId;
	}
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	public int getMoney() {
		return money;
	}
	public void setMoney(int money) {
		this.money = money;
	}


}
